#!/usr/bin/env python

import os

li = os.listdir('.')

if "hello3.txt" in li:
    os.rename('hello3.txt', 'hi.txt')
elif "hi.txt" in li:
    os.rename('hi.txt', 'hello.txt')
